package com.cmes.mes;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 模块初始化类
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@Slf4j
@MapperScan({
        "com.cmes.mes.audit.repository",
        "com.cmes.mes.basic.core.repository",
})
@ComponentScan({
        "com.cmes.mes.audit",
        "com.cmes.mes.basic.core", "com.cmes.mes.basic.web",
})
@Configuration
public class MesModuleInitializer {

    @SuppressWarnings("unused")
    @PostConstruct
    public void init() {
        log.info("Initializing MES module");
    }

}
